package com.example.myapplication.utils;

import com.example.myapplication.entiy.VideoEntity;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiServer {
    @GET("/video/findVideos")
    Observable<VideoEntity> video(@Query("currentPage") int page,@Query("pageSize")int size);

}
